<?php/**Auth: Wolix li*Mail: wenmingpig@gmail.com*MSN: wenbmingpig@msn.com*WebSite: http://www.wolix.com*Date:2011-2-12*/class BizCorpLangModel extends Model{	protected	$dbName	=	'shininghub_b';	protected	$tablePrefix	=	'v1_';	protected	$tableName	=	'corp_lang';/**获得公司语言*/	function getCorpInfoFromId($corpId,$lang="",$map = ""){		if(empty($corpId) || empty($lang) || $lang=='en-us') return 0;		$corInfo_lang = array();		$corInfo_lang = $this->field($map)->where("corpId='".$corpId."' AND langName='".$lang."'")->find();		return $corInfo_lang;	}}?>